package com.fiberhome.app.network.download;

import java.io.File;

/**
 * Created by Deed on 2018/1/11.
 */

public class DownloadBean {
    /**
     *
     */
    public static final int SIZE_ERROR = 0;
    /**
     * download url
     */
    final String url;
    /**
     * file name
     */
    public String fileName;
    /**
     * file path
     */
    public File filePath;
    /**
     * total size of the file
     */
    public long totalSize;
    /**
     * downloaded size
     */
    public long downloadedSize;

    /**
     *
     * @param url String
     */
    public DownloadBean(String url) {
        this.url = url;
    }
}
